﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frm_MenuAManage.aspx.cs" Inherits="Mod_Help_frm_SystemCode" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title></title>
        <script language="javascript" src="../App_script/index.js"></script>
        <script language="javascript" src="../XMLHttpRequest/xmlhttprequest.js"></script>
        <link type="text/css" rel="stylesheet" href="../App_Css/css1.css"/>
    </head>
    <body rightmargin="0" topmargin="0" bottommargin="0" leftmargin="0" onresize="ChangDivWidth()" onkeydown="FocusChangNext()">
        <form id="SystemCode" runat="server">
            <table align="center" width="100%" height="449" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td height="35" align="left" background="../App_Images/b_12.gif">
                        <!-- 操作工具条 Begin -->
                        <table width="820" height="35" cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td>&nbsp;</td>
                                <td width="100">
                                    <table width="100" height="25" cellpadding="0" cellspacing="0"  border="0">
                                        <tr>
                                            <td align="center" width="70"><asp:ImageButton ID="ibtnRef" CommandName="0" ImageUrl="../App_Images/b_20_1.gif" onmouseover="this.src= '../App_Images/b_20_2.gif'" onmouseout="this.src= '../App_Images/b_20_1.gif'" runat="server" OnClick="ibtnRef_Click" /></td>
                                            <td align="center" width="30"><img src="../App_Images/b_25.gif" height="25" width="1"/></td>
                                        </tr>
                                    </table>
                                <td width="130">
                                    <table width="130" height="18" cellpadding="0" cellspacing="0"  border="1" bordercolor="#a1a7bb" style="border-collapse: collapse">
                                        <tr>
                                            <td width="17"><img src="../App_Images/ico/5.gif" border="0" width="17" height="17" /></td>
                                            <td width="77"><asp:TextBox ID="txtKey" runat="server" Width="68px" BorderWidth="0px" Height="15px" onmousedown="this.value=''" onmouseover="this.select()" CssClass="text" Text="查询关键字" onkeydown="ButtonSubmit('ibtnSearch')" /></td>
                                            <td width="36"><asp:ImageButton ID="ibtnSearch" runat="server" ImageUrl="../App_Images/b_21.gif" Width="36" Height="18" OnClick="ibtnSearch_Click" /></td>
                                        </tr>
                                    </table>
                                </td>
                                <td width="10">&nbsp;</td>
                            </tr>
                        </table>
                        <!-- 操作工具条 End -->
                    </td>
                </tr>
                <tr>
                    <td height="25" align="left">
                        <!-- 翻页控制 Begin -->
                        <table width="820" height="25" cellpadding="0" cellspacing="0" border="0" class="text">
                            <tr>
                                <td align="center">
                                    <asp:Label ID="lblRsCounts" runat="server" CssClass="text"/>
                                    <asp:Label ID="lblPageCounts" runat="server" CssClass="text"/>
                                    <asp:Label ID="lblCurrPage" runat="server" CssClass="text"/>&nbsp;&nbsp;
                                    <asp:linkbutton ID="lbtnFirst" runat="server" CssClass="text" Text="首  页" OnClick="ChangPage" CommandName="0" />
                                    <asp:linkbutton ID="lbtnPrev" runat="server" CssClass="text" Text="上一页" OnClick="ChangPage" CommandName="1" />
                                    <asp:linkbutton ID="lbtnNext" runat="server" CssClass="text" Text="下一页" OnClick="ChangPage" CommandName="2" />
                                    <asp:linkbutton ID="lbtnEnd" runat="server" CssClass="text" Text="尾  页" OnClick="ChangPage" CommandName="3" />&nbsp;&nbsp;
                                    <asp:Label ID="lblGoTxt1" runat="server" CssClass="text" Text="跳转到"/>
                                    <asp:textBox ID="txtGo" onmouseover="this.select()" runat="server" OnTextChanged="txtGo_TextChanged" CssClass="text" Height="13px" Width="18px" BorderColor="#7F9DB9" BorderWidth="1px" MaxLength="5"  AutoPostBack="True"/>
                                    <asp:Label ID="lblGoTxt2" runat="server" CssClass="text" Text="页"/>
                                </td>
                            </tr>
                        </table>
                        <!-- 翻页控制 End -->
                    </td>
                </tr>
                <tr>
                    <td height="439" valign="top">
                        <div id="divShowResult" style="overflow: auto; width: 820px; height: 447px; border-right: #a1a7bb 1px solid; border-top: #a1a7bb 1px solid;">
                            <table width="820" height="25" cellpadding="0" cellspacing="0" border="0">
                                <tr>
                                    <td>
                                        <table width="300" height="25" cellspacing="0" cellpadding="0" border="1" class="text" bordercolor="#a1a7bb" style="border-collapse: collapse">
                                            <tr style="cursor:default">
                                                <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 60px;">操作</td>
                                                <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 100px;">菜单名称</td>
                                                <td align="center" background="../App_Images/b_17.gif" style="font-weight: bold; color: #183184; height: 25px; width: 120px;">状态</td>
                                             </tr>
                                        </table>
                                    </td>
                                </tr>
                                <!-- 记录显示区 Begin -->
                                <tr>
                                    <td style="height: 359px" valign="top">
                                        <asp:DataGrid ID="dgrdResult" runat="server" AllowPaging="True" AutoGenerateColumns="False" PageSize="18" ShowHeader="False" Width="300px" BorderStyle="None" BorderWidth="0px" CellPadding="0" CssClass="text" GridLines="None" OnItemDataBound="dgrdResult_ItemDataBound">
                                            <PagerStyle Visible="False" BorderStyle="None" BorderWidth="0px" />
                                            <Columns>
                                                <asp:TemplateColumn>
                                                    <ItemTemplate>
                                                        <table width="300" height="20" class="text" cellpadding="0" cellspacing="0" border="1" bordercolor="#A1A7BB" style="border-collapse: collapse">
                                                            <tr id='trRs' runat="server">
                                                                <td width="60" align="center" valign="top" background="../App_Images/b_23.gif">
                                                                    <table width="60" border="0" cellpadding="0" cellspacing="0">
                                                                        <tr>
                                                                            <td>
                                                                                <asp:ImageButton ID="ibtnRsCancel" OnClick="UpDateSystemCode" CommandName="0" CommandArgument="<%# Container.ItemIndex %>" ToolTip="取消编辑" Height="17" Width="17" Visible="false" ImageUrl="../App_Images/ico/4.gif" runat="server" OnClientClick="return confirm('您真的要取消编辑吗？')" />
                                                                            </td>
                                                                            <td>
                                                                                <asp:imagebutton ID="ibtnRsEdit" OnClick="UpDateSystemCode" CommandName="1" CommandArgument="<%# Container.ItemIndex %>" ToolTip="编辑" Height="17" Width="17" Visible="true" ImageUrl="../App_Images/ico/12.gif" runat="server" />
                                                                                <asp:ImageButton ID="ibtnRsServer" OnClick="UpDateSystemCode" CommandName="2" CommandArgument="<%# Container.ItemIndex %>" ToolTip="保存编辑" Height="17" Width="17" Visible="false" ImageUrl="../App_Images/ico/11.gif" runat="server" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td align="center" width="100"><asp:textbox ID="txt1" Text='<%# DataBinder.Eval(Container.DataItem, "m_item_desc")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "m_item_desc")%>'  runat="server" CssClass="text" Width="100" ReadOnly="true" BorderWidth="0" BackColor="transparent" BorderColor="#7F9DB9"/></td>
                                                                <td align="center" width="120">
                                                                    <asp:textbox ID="txt5" runat="server" Visible="true" CssClass="text" Width="115" ReadOnly="true" BorderWidth="0" BackColor="transparent" BorderColor="#7F9DB9"/>
                                                                    <asp:dropdownlist ID="drop0" runat="server" CssClass="text" Width="115" Visible="false">
                                                                        <asp:ListItem Text="停用" Value="1" />
                                                                        <asp:ListItem Text="正常" Value="0" Selected =True/>
                                                                    </asp:dropdownlist>
                                                                </td>
                                                                </tr>
                                                        </table>
                                                    </ItemTemplate>
                                                </asp:TemplateColumn>
                                                <asp:BoundColumn DataField="m_item_is_start" ReadOnly="True" Visible="False"></asp:BoundColumn>
                                                </Columns>
                                            <AlternatingItemStyle BackColor="#EEEFF2" />
                                            <ItemStyle BorderWidth="0px" Height="0px" />
                                        </asp:DataGrid>
                                    </td>
                                </tr>
                                <!-- 记录显示区 End -->
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
            <asp:label ID="lblJs" runat="server"/>
        </form>
    </body>
</html>

